home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr33 / 2col56.zip / DEMO2COL.BAT < prev    next >
DOS Batch File  |  1994-08-03  |  5KB  |  113 lines

  1. @echo off
  2. echo This is an eight page demonstration of 2COL features.
  3. if "%1"=="9" goto 9
  4. if "%1"=="24" goto 24
  5. if "%1"=="J" goto J
  6. if "%1"=="j" goto J
  7. echo.
  8. echo To run this demo on a 9-pin printer type:  DEMO2COL 9 (enter)
  9. echo.
  10. echo If your 9-pin printer does not support 20 char/inch,type:DEMO2COL 9 -W68 (enter)
  11. echo.
  12. echo To run this demo on a 24-pin (LQ type) printer type:DEMO2COL 24 (enter)
  13. echo.
  14. echo To run this demo on a Deskjet type: DEMO2COL J (enter)
  15. echo.
  16. goto end
  17. :9
  18. echo.
  19. echo A few of the printing options demonstrated are bonus registered features.
  20. echo Various options can be combined on the command line, if separated by spaces.
  21. echo.
  22. echo 2col prints with its default settings: 2COL 2COL.DOC >prn
  23. 2COL 2COL.DOC -K -F1 %2
  24. echo For more than 102 lines/page 2col uses small type: 2COL 2COL.DOC -L180>prn
  25. 2COL 2COL.DOC -K -F1 -L170 %2
  26. echo To retain all blank lines in original document type: 2COL 2COL.DOC -C66>prn
  27. 2COL 2COL.DOC -K -F1 -C66 %2
  28. echo Original source pages can be delimited by typing:2COL 2COL.DOC -D>prn
  29. echo Pages can be numbered at the bottom by typing:2COL 2COL.DOC -N>prn
  30. 2COL 2COL.DOC -K -F0 -D -N %2
  31. echo To print at 17 char/inch,use a columnwidth less than 69: 2COL 2COL.DOC -W68>prn
  32. 2COL 2COL.DOC -K -F1 -W68
  33. echo Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 >prn
  34. echo This feature is a bonus registered feature.>prn
  35. 2COL 2COL.DOC -K -F0 -U8 %2
  36. echo You can print exactly two pages/column by typing:2COL 2COL.DOC -X2>prn
  37. echo This  is a registered version feature.>prn
  38. 2COL 2COL.DOC -K -F0 -X2 %2
  39. if "%2"=="-W68" goto endr
  40. if "%2"=="-w68" goto endr
  41. echo You can also reformat documents to different widths>prn
  42. echo and print three or more columns:2COL 2COL.DOC -&R52 -W52 -$3>prn
  43. 2COL 2COL.DOC -K -F0 -&R52 -W52 -$3
  44. goto endr
  45. :J
  46. echo 2COL will print demonstration pages in the following order:>prn
  47. echo (A 4 line top margin has been added to all printouts using -F4)>prn
  48. echo.>prn
  49. echo 1.default settings: 2COL 2COL.DOC -J>prn
  50. echo.>prn
  51. echo 2.Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 -J>prn
  52. echo   This is a bonus feature in the registered version.>prn
  53. echo.>prn
  54. echo 3.Registered users can reformat to different widths:2COL 2COL.DOC -&R78>prn
  55. echo.>prn
  56. echo 4.For more than 102 lines/page 2COL uses 6 point type: 2COL 2COL.DOC -L170 -J>prn
  57. echo.>prn
  58. echo 5.To retain all blank lines in original document type: 2COL 2COL.DOC -C66 -J>prn
  59. echo.>prn
  60. echo 6.Original source pages can be delimited by typing: 2COL 2COL.DOC -D -J>prn
  61. echo   Pages can be numbered at the bottom by typing 2COL 2COL.DOC -N -J>prn
  62. echo.>prn
  63. echo 7.You can print exactly 2 pages/column by typing: 2COL 2COL.DOC -X2 -D -J>prn
  64. echo   This is a bonus feature in the registered version.>prn
  65. echo.>prn
  66. echo 8.To print at 17 cpi, use a column width of less than 69:2COL 2COL.DOC -W68 -J>prn
  67. echo   Since the Deskjet actually prints at 16.67 cpi, you must be careful when>prn
  68. echo   using the -W68 or -W67 options because up to 4 characters could be >prn
  69. echo   truncated on the right side of the page as shown in this example.>prn
  70. echo &l2C&l0L >prn
  71. 2col 2col.doc -K -f4 -J
  72. 2col 2col.doc -K -f4 -U8 -J
  73. 2col 2col.doc -K -F4 -&R78 -J
  74. 2col 2col.doc -K -F4 -L170 -J
  75. 2col 2col.doc -K -F4 -C66 -J
  76. 2col 2col.doc -K -F4 -D -N -J
  77. 2col 2col.doc -K -F4 -X2 -D -J
  78. 2col 2col.doc -K -F4 -W68 -J
  79. 2col 2col.doc -K -F0 -!-120 -W65 -&R65 -$3 -L75 -#27,38,108,49,79 -J
  80. goto endr
  81. :24
  82. echo.
  83. echo A few of the printing options demonstrated are bonus registered features.
  84. echo Various options can be combined on the command line, if separated by spaces.
  85. echo When using a 24-pin printer the -Q option must always be used.
  86. echo.
  87. echo 2col prints with its default settings: 2COL 2COL.DOC -Q >prn
  88. 2COL 2COL.DOC -K -F1 -Q
  89. echo 24-Pin printers use taller fonts. Your printing will appear less crowded >prn
  90. echo if you choose 82 lines per page : 2COL 2COL.DOC -L82 -Q >prn
  91. 2COL 2COL.DOC -K -F0 -L82 -Q
  92. echo For more than 102 lines/page 2col uses small type: 2COL 2COL.DOC -L160 -Q>prn
  93. 2COL 2COL.DOC -K -F1 -L160 -Q
  94. echo To retain all blank lines in original document type: 2COL 2COL.DOC -C66>prn
  95. 2COL 2COL.DOC -K -F1 -C66 -Q
  96. echo Original source pages can be delimited by typing:2COL 2COL.DOC -D>prn
  97. echo Pages can be numbered at the bottom by typing:2COL 2COL.DOC -N>prn
  98. 2COL 2COL.DOC -K -F0 -D -N -Q
  99. echo To print at 17 char/inch,use a columnwidth less than 69: 2COL 2COL.DOC -W68>prn
  100. 2COL 2COL.DOC -K -F1 -W68 -Q
  101. echo Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 -Q >prn
  102. echo This  is a bonus registered feature.>prn
  103. 2COL 2COL.DOC -K -F0 -U8 -Q
  104. echo You can print exactly two pages/column by typing:2COL 2COL.DOC -X2>prn
  105. echo This feature is a bonus registered feature.>prn
  106. 2COL 2COL.DOC -K -F0 -X2 -Q
  107. echo You can reformat documents to different widths>prn
  108. echo and print three or more columns:2COL 2COL.DOC -&R52 -W52 -$3 -Q>prn
  109. 2COL 2COL.DOC -K -F0 -&R52 -W52 -$3 -Q
  110. :endr
  111. copy register.doc prn
  112. :end
  113.